WriteDataTarget

This query creates table (WriteDataTarget) with all necessary columns to be able to read/write data from Apis SQL module.


USE [TestDB]

GO

/****** Object: Table [dbo].[WriteDataTarget] Script Date: 06/08/2009 15:53:05 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

CREATE TABLE [dbo].[WriteDataTarget](

[ID] [int] IDENTITY(1,1) NOT NULL,

[ItemID] [nvarchar](max) NOT NULL,

[ItemValue] [nvarchar](max) NOT NULL,

[ItemTimestamp] [datetime] NOT NULL,

[ItemQuality] [smallint] NOT NULL,

[Row] [smallint] NULL,

[Col] [smallint] NULL,

CONSTRAINT [PK_WriteDataTarget] PRIMARY KEY CLUSTERED

(

[ID] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY]

GO